<%@page pageEncoding="UTF-8" %>
<!doctype html>
<html lang="zh-cmn">
<head>
   <%@include file="/WEB-INF/jsp/comm/head.jsp"%>
</head>
<body>

<div class="container">
    <div id="toolbar">
        <button type="button" class="btn btn-primary"><i class="glyphicon glyphicon-plus-sign"></i> 添加角色</button>
        <button type="button" class="btn btn-success" onclick="prepareGrant()"><i class="glyphicon glyphicon-user"></i> 角色授权</button>
    </div>
    <table id="roleTb"
    data-toggle="table"
    data-url="${ctx}/sys/role/list"
    data-striped="true"
    data-toolbar="#toolbar">
        <thead>
        <tr>
            <th data-radio="true"></th>
            <th data-field="id">编号</th>
            <th data-field="name">名称</th>
            <th data-field="state" data-formatter="fmtState">状态</th>
            <th data-field="modifyBy">修改人</th>
            <th data-field="modifyTime">修改时间</th>
        </tr>
        </thead>
    </table>
    <!---授权对话框-->
    <div id="grant">
        <div id="tree"></div>
    </div>


</div>
<%@include file="/WEB-INF/jsp/comm/foot.jsp"%>
<script src="${ctx}/static/myjs/role.js"></script>
</body>
</html>
